<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/common.jsp"%>
<html>
<head>
<title>版块列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>

	<div id="Title_bar">
		<div id="Title_bar_Head">
			<div id="Title_Head"></div>
			<div id="Title">
				<!--页面标题-->
				<img border="0" width="13" height="13"
					src="${pageContext.request.contextPath}/css/images/title_arrow.gif" />
				版块管理
			</div>
			<div id="Title_End"></div>
		</div>
	</div>

	<div id="MainArea">
		<table cellspacing="0" cellpadding="0" class="TableStyle">

			<!-- 表头-->
			<thead>
				<tr align="CENTER" valign="MIDDLE" id="TableTitle">
					<td width="250px">版块名称</td>
					<td width="300px">版块说明</td>
					<td>相关操作</td>
				</tr>
			</thead>

			<!--显示数据列表-->
			<tbody id="TableData" class="dataContainer" datakey="forumList">
				<s:iterator value="recordList" status="s">
					<tr class="TableDetail1 template">
						<td><s:property value="name" />
						</td>
						<td><s:property value="description" />
						</td>
						<td><s:a onClick="return delConfirm()"
								action="forumManageAction_delete.do?id=%{id}">删除</s:a> <s:a
								action="forumManageAction_updateUI.do?id=%{id}">修改</s:a> <s:if
								test="#s.first">
							上移
							</s:if> <s:else>
								<s:a action="forumManageAction_moveUp.do?id=%{id}">上移</s:a>
							</s:else> <s:if test="#s.last">
							下移
							</s:if> <s:else>
								<s:a href="forumManageAction_moveDown.do?id=%{id}">下移</s:a>
							</s:else></td>
					</tr>
				</s:iterator>
			</tbody>
		</table>

		<!-- 其他功能超链接 -->
		<div id="TableTail">
			<div id="TableTail_inside">
				<s:a action="forumManageAction_addUI.do">
					<img
						src="${pageContext.request.contextPath}/css/images/createNew.png" />
				</s:a>
			</div>
		</div>
	</div>

	<%@ include file="/WEB-INF/jsp/common/pageView.jsp"%>
    <s:form  id="pageForm" action="forumManageAction_showAllForum.do">
       <s:hidden name="id"></s:hidden>
    </s:form>
	<div class="Description">
		说明：<br /> 1，显示的列表按其sortOrder值升序排列。<br />
		2，可以通过上移与下移功能调整顺序。最上面的不能上移，最下面的不能下移。<br />
	</div>

</body>
</html>

